package com.dao;

import com.model.Customer;

public interface CustomerDAO {
	// add customer
	public boolean addCustomer(Customer customer);

	// delete customer
	public boolean deleteCustomer(int id);

	// update customer
	public boolean updateCustomer(Customer customer, int id);

	// select customer
	public String selectCustomer(String key, String type, int page, int rows,
			String sort, String order);

	// get customer
	public Customer getCustomer(int id);
}
